home *** CD-ROM | disk | FTP | other *** search
/ Mastering Computers 3 / Mastering Computers Vol 3.iso / Win95 / Network Utils / NUTILS / SAMPLES.LZH / NET.BAT < prev    next >
Encoding:
DOS Batch File  |  1993-02-08  |  969 b   |  53 lines

  1. @echo off
  2. cls
  3. c:
  4. cd \net
  5. ipx
  6.  
  7. ndosver
  8. if errorlevel 5 goto DOS5
  9. if errorlevel 4 goto DOS4
  10.  
  11. rem  Default to DOS 3.x
  12. nxmsmem
  13. if errorlevel 7  xmsnet3.exe
  14. if not errorlevel 7 net3.exe
  15. goto CONT
  16.  
  17. :DOS4
  18. nxmsmem
  19. if errorlevel 7  xmsnet4.exe
  20. if not errorlevel 7 net4.exe
  21. goto CONT
  22.  
  23. :DOS5
  24. net5.exe
  25. goto CONT
  26.  
  27. :CONT
  28. cd\
  29. echo .
  30. if exist f:*.*         goto DRIVEF
  31. if exist f:\public\*.* goto DRIVEF
  32.  
  33. :ERROR
  34. echo .
  35. echo    It was not possible to load the network drivers.
  36. echo    Please reboot this work station to reset all drivers.
  37. echo    If this problem persists then please call xxx-xxxx to
  38. echo    report that you had problems logging onto the network.
  39. echo .
  40. goto EXIT
  41.  
  42. :DRIVEF
  43. echo    Remember to keep your passwords secure.  Do not distribute.
  44. echo    If a different Server denies you access then you must type
  45. echo    Server/Loginname  at the Login prompt.  ei:   VENUS/SMITH
  46. echo .
  47. echo .
  48. f:
  49. login %1
  50. goto EXIT
  51.  
  52. :EXIT
  53.